#
# License Agreement.
#
# encuestame system online surveys
# Copyright (C) 2005-2008 encuestame Development Team
#
# This product is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License version 2.1 as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
#

#-----------------------------------------------------------------------------
# Error level, display a different size of error on depends the error level
# 0 - None
# 1 - Medium
# 2 - High
#-----------------------------------------------------------------------------
encuestame.error.level = 0
encuestame.error.display_bugtracking = false

application.offline.mode = true

#----------------------------------
#Application Config
#----------------------------------
#Force SSL on login
spring.sec.forceLoginSSL=false
#Retrieve permission by group
spring.sec.roleByGroup = true
#Retrieve permission by author
spring.sec.roleByAuthor = true
#Default Rol
spring.sec.role.prefix = ENCUESTAME_
#Path to login
spring.sec.loginPath=/user/signin
#After success log in this is the default path user will sent
spring.sec.defaultLoginUrl=/account/dashboard
#Path if login fail
spring.sec.login.error=/user/signin?failure=true
#Path if recourse is denided
spring.sec.login.denied=/error
#Log out
spring.sec.logout.url=/user/logout
#After log out the path will send user
spring.sec.logout.sucess=/home
#spring.sec.invalidate.session=true

## Security Keys
spring.sec.rememberMe.key=9Mdj7MVvkXOXJ8uRgtg/Xb/3eJyW0
spring.sec.anonymous.key=MU7kyU0he1MvXEDZ9Mdj7MVvkXOXJ8uRgtg/Xb/3eJyW0HZa3csBoyvinGEC4vmi
spring.sec.encrypt.algorithm.key=PBEWithMD5AndTripleDES
spring.sec.encrypt.password.key=password

#--------------------------------------------------------------------------------
# Required app config.
#--------------------------------------------------------------------------------
# application name
application.name = encuestame
# default application title
application.title = encuestame survey system
# default app encoding
application.encoding = UTF-8
# google maps key
application.apiKeygoogle = xxxxxx
# this is default domain, is used on vote support and short url operations.
application.domain = http://localhost:8080/
# default small logo app
application.logo.small = images/logos/encuestame_header_grey.jpg
# default medium logo app
application.logo.medium = images/logos/encuestame_header_grey.jpg
# default huge logo app
application.logo.huge = images/logos/encuestame_header_grey.jpg
# enabled singup for anonymous users
application.signup.enabled = true
# define if anonymous users are allowed, only logged user.
application.private = true
# mobile view is enabled or disabled
application.mobile.enabled = true
# define if the only mobile view should be displayed
application.mobile.only = false
# define if user can log in with social accounts
application.social.signin.enabled = false
# disable notification by email
application.email.enabled = false

application.mail.source = url

application.mail.logo.url  = http://api.encuestame.org/mail.png

application.mail.logo.base64 = 
mail.message.app.name = Encuestame
#----------------------------------
# Proxy
#----------------------------------

application.proxyPass = ${app.proxypass}

#---------------------------------
#Application DataSource
#---------------------------------

datasource.userbd=${hibernate.datasource.user}
datasource.pass=${hibernate.datasource.password}
datasource.classname=${hibernate.datasource.classname}
datasource.dialect=${hibernate.datasource.dialect}
datasource.showsql=false
datasource.delimited = ${hibernate.datasource.delimited}
## In production this property should change to "none"
datasource.hbm2ddl.auto = ${hibernate.datasource.hbm2ddl.auto}

#---------------------------------
#Security Config
#---------------------------------

sec.suspendedNotification = true
sec.forceLogin = true
sec.reCaptcha = true

# -------------------------------
# Twitter Provider
# -------------------------------

twitter.tinyUrl = http://tinyurl.com/api-create.php
twitter.oauth.request.token = http://twitter.com/oauth/request_token
twitter.oauth.access.token = http://twitter.com/oauth/access_token
twitter.oauth.authorize = http://twitter.com/oauth/authorize?oauth_token={token}
twitter.url.domain = http://twitter.com/
## Should be update with your twitter account.
twitter.oauth.consumerKey = nFboU4T1Zhv8cqMC4cP0ug
twitter.oauth.consumerSecret = GwOPUEJEaCbNBiBzq6J8StDhb7FOmwDcjfX6zMe0
## value no required. --------------------------------------------------------
twitter.oauth.accessToken = 114054787-I17YXofo0576XoQe76I0xI2ecjgNWn9YDJRW8gQI
twitter.oauth.accessTokenSecret = 1YzYMWOobF2EfegPQXKpmkWqNc6W8sLOQI6vtZFpbQs

# linkedIn
linkedIn.oauth.api.key = 5hkdPhtfkRwR0uRhIftai57FA0xbpH7m2fsBFfELvVLf6KMqw1X_FdzsgPkFORuS
linkedIn.oauth.api.secret = 3Tuj7nXvACdCwffnbh-NkUXQ_Re0t1FPakogEPApw_3DBsfowdQuoggCCTd38a9o
linkedIn.oauth.authorize.url = https://www.linkedin.com/uas/oauth/authorize?oauth_token={token}
linkedIn.oauth.request.token = https://api.linkedin.com/uas/oauth/requestToken
linkedIn.oauth.access.token = 	https://api.linkedin.com/uas/oauth/accessToken

# facebook
facebook.api.key = 00652d6a727433e9ca90538e07ff5493
facebook.api.secret = de9d786377a009fef4f1fa3e67929f81
facebook.api.id = 102345790957
facebook.oauth.authorize=https://www.facebook.com/dialog/oauth?client_id={client_id}&redirect_uri={redirect_uri}
facebook.oauth.accesToken=https://graph.facebook.com/oauth/access_token

# tripIt
tripIt.oauth.api.key = ed00208afc958b1d6fbd06f7a20faa03e810fa27
tripIt.oauth.api.secret = 47c29a0bb66df8c633580e3810536b9b25ff3a59
tripIt.oauth.api.request.url = https://api.tripit.com/oauth/request_token
tripIt.oauth.api.authorize.url = https://www.tripit.com/oauth/authorize?oauth_token={token}&oauth_callback=https://xxxx.com/connect/tripit
tripIt.oauth.api.accessToken.url = https://api.tripit.com/oauth/access_token

#google
google.api.key=AIzaSyCvEMnlGa4q4Suayx1bMYXg-Wkf1jYmmaQ
google.client.id=287300901667.apps.googleusercontent.com
google.client.secret=oIJZgke5nPDSEEeNOy0lBrxv
google.authorizeURl=https://accounts.google.com/o/oauth2/auth?client_id={client_id}&redirect_uri={redirect_uri}&scope={scope}&response_type=code
google.accesToken=https://accounts.google.com/o/oauth2/token
#identi.ca
identica.consumer.key=801f384ec5dc1aecc4801841aae5ac9d
identica.consumer.secret=858629866209502c1023ce2dd86f14a2
identica.requestToken=https://identi.ca/api/oauth/request_token
identica.accessToken=https://identi.ca/api/oauth/access_token
identica.authorizeUrl=https://identi.ca/api/oauth/authorize?oauth_token={token}
#myspace
myspace.consumer.key=49226d7f290649829bb23b2b9351bba1
myspace.consumer.secret=547db3dff93c47c997bd5cfcfa82e6a4ebfaaba615b145c395bb36312643fddb
myspace.requestToken=http://api.myspace.com/request_token
myspace.accessToken=http://api.myspace.com/access_token
myspace.authorizeUrl="http://api.myspace.com/authorize?oauth_token={token}
#yahoo
yahoo.consumer.key=dj0yJmk9MXc5ZXZhS2FYaUZkJmQ9WVdrOU1YbzNXazR6TXpnbWNHbzlPRGd4T1RjM05qWXkmcz1jb25zdW1lcnNlY3JldCZ4PTU2
yahoo.consumer.secret=d0acfb77382f4da1faba47afb232bdca867fe6ed
yahoo.requestToken=https://api.login.yahoo.com/oauth/v2/get_request_token
yahoo.accessToken=https://api.login.yahoo.com/oauth/v2/get_token
yahoo.authorizeUrl=https://api.login.yahoo.com/oauth/v2/request_auth?oauth_token={token}
yahoo.apId=1z7ZN338


#Plurk
plurk.consumer.key=emDPLofjAuZx
plurk.consumer.secret=aa4uhQ9Yxg7QXrnworVjGkOjwqrzZ1Lq
plurk.requestToken=http://www.plurk.com/OAuth/request_token
plurk.accessToken=http://www.plurk.com/OAuth/access_token
plurk.authorizeUrl=http://www.plurk.com/OAuth/authorize

#Tumblr
tumblr.consumer.key=Ex7i5SyVyue59czWqjFsm8PiIOsBmO2552pQEhVRGm0EiPJBRM
tumblr.consumer.secret=I1dGlEJAqEYopIUqDxrExMrNgi2u9n79K0DJo7hrafq94hYzCQ

tumblr.requestToken=http://www.tumblr.com/oauth/request_token
tumblr.accessToken=http://www.tumblr.com/oauth/access_token
tumblr.authorizeUrl=http://www.tumblr.com/oauth/authorize?oauth_token={token}

# ---------------------------------
# Answers URL
# ---------------------------------

answers.answerPoll = /poll/view
answers.tweetPollResults = /tweet/view
answers.tweetPath = /tweet/vote
answers.tweetPathVote = /tweet/vote


#-----------------------------------------------------------------------------
# Directory settings
#-----------------------------------------------------------------------------

dir.lucene.provider=org.apache.lucene.store.FSDirectory
# use real path on this directory
encuestame.home = ${user.home}/test-encuestame/
# real path of indexes domain (hibernate search)
encuestame.home.hibernate.search.store.path = ${user.home}/encuestame-test/indexes/domain/

google.analytic.code = UA-XXXXX-X

#-----------------------------------------------------------------------------
# Security
#-----------------------------------------------------------------------------
account.expire.limit = 7

comment.time.range = 180


#-----------------------------------------------------------------------------
# Updates link
#-----------------------------------------------------------------------------
update.link = http://www.encuestame.org/updates/check

# ----------------------------------------------------------------------------
#  Front End Home Configuration
# ----------------------------------------------------------------------------

front.profile.items = 20
front.hashtags.items = 80
front.home.items = 100


# ----------------------------------------------------------------------------
#  RSS / ATOM Configuration
# ----------------------------------------------------------------------------

rss.display.items = 100

#-----------------------------------------------------------------------------
# Social tweet url
#-----------------------------------------------------------------------------

social.twitter= https://twitter.com/#!/{username}/status/{id}
social.facebook=http://www.facebook.com/permalink.php?story_fbid={A}&id={B}
social.linkedin=http://www.linkedin.com/updates?view=all&trk=tab-nus-all
social.identica=http://identi.ca/notice/{id}
social.tubmlr= http://{username}.tumblr.com/post/{id}
social.plurk=http://www.plurk.com/p/{id}

#-----------------------------------------------------------------------------
# Social profile url
#-----------------------------------------------------------------------------

social.profile.twitter= https://twitter.com/#!/{username}
social.profile.facebook=https://www.facebook.com/profile.php?id={id}
social.profile.identica=http://identi.ca/{id}


# ----------------------------------------------------------------------------
# Demo Generation Parameters
# ----------------------------------------------------------------------------

#hashtag
demo.hashtab.by.item = 1

#tweetpoll
demo.votes.by.tppoll = 1
demo.limit.tweetpolls = true
demo.limit.tweetpolls.quantity = 1
demo.max.tweetpoll.folder = 1
demo.max.tweetpoll.hits = 1
demo.min.tweetpoll.hits = 1
demo.max.tweetpoll.votes = 1
demo.min.tweetpoll.votes = 1

#poll
demo.votes.by.poll = 1
demo.limit.polls = true
demo.limit.polls.quantity = 1
demo.max.poll.folder = 1

demo.max.poll.hits = 1

demo.min.poll.hits = 1

demo.min.poll.votes = 1

demo.max.poll.votes = 1

#survey
demo.votes.by.survey = 1

#comments
demo.max.comments.likes = 1
demo.min.comments.likes = 1
demo.max.comments.unlikes = 1
demo.min.comments.unlikes = 1

#social accounts
demo.max.tweetpoll.social.network.published = 1

# ----------------------------------------------------------------------------
# HashTags Configuration
# ----------------------------------------------------------------------------

hashtags.suggests.items = 10
hashtags.cloud.items = 10

geo.earth.radius.km = 6378

# ----------------------------------------------------------------------------
# Mail Configuration
# -----
mail.locale = es
mail.footer.greeting = Encuestame Team

not.list.max.by.category = 100

application.user.unconfirmed.limit = 5

#--------------------------------------------------------------------------------
# Cron Jobs
#--------------------------------------------------------------------------------
cron.reindex = 0 15 10 ? * MON-FRI
cron.attachment = 0 15 10 * * ?
cron.calculateReindex = 0 0 12 * * ?
cron.calculateRelevance = 0 0 12 * * ?
cron.removeUnconfirmedAccount = 0 0 12 * * ?
cron.sendNotifications = */5 * * * * ?
cron.removeSpamComments = 0 0 12 * * ?
cron.publishAllScheduled = 0 0/3 * * * ?
cron.removeAllScheduled = 0 0/3 * * * ?


dashboard.default.name = My Panel
dashboard.default.descr = My panel description